#include <stdio.h>
#define N 3
#define M 4

int main()
{
	int buf[N][M] =  {1,2,3,4,5,6,7,8,9,10,11,12};
	printf("&buf          %p\n",&buf);
	printf("&buf[0]       %p\n",&(buf[0]));
	printf("&buf[0][0]    %p\n",&(buf[0][0]));
	printf("&buf+1        %p\n",&buf+1);
	printf("&buf[0]+1     %p\n",&buf[0]+1);
	printf("&buf[0][0]+1  %p\n",&buf[0][0]+1);

	printf("sizeof(buf)   %ld\n",&buf);
	printf("&buf          %ld\n",&buf);
	printf("&buf          %ld\n",&buf);
	printf("&buf          %ld\n",&buf);
	printf("&buf          %ld\n",&buf);
	printf("&buf          %ld\n",&buf);


	return 0;
}
